|
HIDE PARTICLES
This command will hide a particles object, and will instantly hide every particle which is deemed part of the particles object.
HIDE PARTICLES Particle Number
Particle Number
Integer
The particle object number
This command does not return a value.
To emit no new particles and leave the rest to descend, either reduce the number of emissions or reposition the particles object offscreen.
load image "spec.bmp",3
make particles 3, 3, 10, 10.0
position particles 3, -3, 0, 10
position camera 0,1,0
point camera 0,1,400
while mouseclick()=0
if upkey()=1 then move camera 0.1
if downkey()=1 then move camera -0.1
if leftkey()=1 then turn camera left 1
if rightkey()=1 then turn camera right 1
color particles 3, rnd(255), rnd(255), rnd(255)
position particles 3, (mousex()-320)/50.0, 0, 10
show particles 3
sleep 1000*8
hide particles 3
sync
endwhile
delete particles 3
end
PARTICLES Commands Menu
Index
|